package org.esgi.model.impl;

import org.esgi.model.interfaces.IAnswer;

public class Answer implements IAnswer 
{
	private String text_;
	private String nextQuestionId_;
	private boolean selected_ = false;
	
	@Override
	public String getText() 
	{
		return this.text_;
	}

	@Override
	public void setText(String aText) 
	{
		this.text_ = aText;
	}

	@Override
	public String getNextQuestionId() 
	{
		return this.nextQuestionId_;
	}

	@Override
	public void setNextQuestionId(String aNextQuestionId) 
	{
		this.nextQuestionId_ = aNextQuestionId;
	}
	
	@Override
	public boolean getIsSelected()
	{
		return this.selected_;
	}
	
	@Override
	public void setIsSelected(boolean selected)
	{
		this.selected_ = selected;
	}

	@Override
	public String toString() {
		return "Answer [text_=" + text_ + ", nextQuestionId_="
				+ nextQuestionId_ + ", selected_=" + selected_ + "]";
	}
	
}
